﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Particulars.aspx.cs" Inherits="DelonixRegia__Staff_Use_.Particulars" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body {
            background-image: url('Images/wef.jpg');
            background-repeat: repeat;
            background-attachment: scroll;
        }
        .auto-style1 {
            width: 98%;
        }
        .auto-style2 {
            width: 398px;
        }
        .auto-style4 {
            width: 425px;
            font-weight: bold;
            text-decoration: underline;
        }
        a:hover {
            text-decoration: underline;
            color: #808000;
        }
        a:hover {
            color: #808000;
            text-decoration: underline;
        }
        .auto-style11 {
            color: #666666;
        }
        a:hover {
            color: #808000;
            text-decoration: underline;
        }
        .auto-style12 {
            width: 425px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <br />
        <br />
        Welcome,
        <asp:Label ID="Label8" runat="server"></asp:Label>
        <asp:Label ID="Label11" runat="server" Visible="False"></asp:Label>
        <br />
        Not your account?
        <asp:HyperLink ID="HyperLink1" runat="server" Font-Underline="True" NavigateUrl="~/Login.aspx">Sign out!</asp:HyperLink>
        <br />
&nbsp;<asp:LinkButton ID="LinkButton1" runat="server" CssClass="auto-style11" Font-Underline="False" OnClick="LinkButton1_Click">Check In For Guest</asp:LinkButton>
        &nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton6" runat="server" CssClass="auto-style11" Font-Underline="False" OnClick="LinkButton6_Click">Cancel Booking</asp:LinkButton>
        &nbsp; |&nbsp;&nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton3" runat="server" CssClass="auto-style11" Font-Underline="False" OnClick="LinkButton3_Click" >Update Staff Profile</asp:LinkButton>
        &nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label9" runat="server" Text="|" Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton4" runat="server" CssClass="auto-style11" Font-Underline="False" OnClick="LinkButton4_Click" Visible="False">Create Staff Account</asp:LinkButton>
        &nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label10" runat="server" Text="|" Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton5" runat="server" CssClass="auto-style11" Font-Underline="False" OnClick="LinkButton5_Click" Visible="False">Delete Staff Account</asp:LinkButton>
&nbsp;&nbsp;&nbsp;
        <br />
        <br />
        <table align ="center" style="table-layout:fixed; width : 400px">
            <tr>
                <td>
        <table align="center" class="auto-style1" style="border-style: dashed; border-width: thin">
            <tr>
                <td class="auto-style4">Search By</td>
                <td class="auto-style2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style12">Identification Number:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style12">&nbsp;</td>
                <td class="auto-style2">
                    <asp:Button ID="Button1" runat="server" Text="Search" OnClick="Button1_Click" />
                </td>
            </tr>
        </table>
                    </td>
                </tr>
            </table>
    
        <br />
        <br />
        <asp:DataList ID="DataList1" runat="server">
            <HeaderTemplate>
                
                <table border="1">
                    <tr>
                    
                         <th>
                                First Name
                         </th>
                        <th>
                            Last Name
                        </th>
                         <th>
                                Date of Arrival
                         </th>
                         <th>
                                Date of Departure
                          </th>
                         <th>
                                Number of Nights
                         </th>
                        <th>
                               Room Type
                         </th>
                        <th>
                                Amount to Pay
                         </th>
                        <th>
                            Room Number
                        </th>
                       
                        </tr>
                        
                   
           </HeaderTemplate>
           <ItemTemplate>
                  
                              <tr>
                           <td>
                                 <%# DataBinder.Eval(Container.DataItem, "fname")%>
                          </td>
                          <td>
                                 <%# DataBinder.Eval(Container.DataItem, "lname")%>
                          </td>
                          <td>
                                  <%# DataBinder.Eval(Container.DataItem, "dateofarrival")%>
                          </td> 
                           <td>
                                   <%# DataBinder.Eval(Container.DataItem, "dateofdeparture")%>
                           </td>
                      <td>
                          <%#  DataBinder.Eval(Container.DataItem, "periodofstay")%>
                      </td>
                      <td>
                                <%#  DataBinder.Eval(Container.DataItem, "typesofroom")%>
                          </td>
                                  <td>
                                <%#  DataBinder.Eval(Container.DataItem, "price")%>
                          </td>
                                  <td>
                                <%#  DataBinder.Eval(Container.DataItem, "roomnum")%>
                          </td>
                          
                     </tr>
                      
           </ItemTemplate>
           
        </asp:DataList><br />
        <br />
        <br />
        <table align="center" style="table-layout:fixed; width: 400px" ">
            <tr>
                <td class="auto-style7">
        </table>
                    </td>
                </tr>
            </table>
    
    </div>
    </form>
</body>
</html>
